/*
* Sun Public License Notice
*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"). You may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/
*
* The Original Code is Forte for Java, Community Edition. The Initial
* Developer of the Original Code is Sun Microsystems, Inc. Portions
* Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
*/
package org.netbeans.modules.debugger.jpda;
import org.openide.debugger.DebuggerInfo;
import org.openide.execution.NbProcessDescriptor;
import org.netbeans.modules.debugger.delegator.SessionDebuggerInfo;
import org.netbeans.modules.debugger.support.ProcessDebuggerInfo;
/**
* Contains information about a class to debug.
* Consists of these pieces of information:
* <UL>
* <LI>the class to run
* <LI>parameters for its main method
* <LI>a class name to stop execution in, if desired
* </UL>
* Uses JPDA debugger.
*
* @author Jan Jancura
*/
public class JPDADebuggerInfo extends ProcessDebuggerInfo implements SessionDebuggerInfo {
/**
* Construct a new <code>DebuggerInfo</code> with the class to run and its parameters specified.
* Sets class to stop in to be the class to run.
*
* @param className name of debugged class
* @param argv command-line arguments used for debugging this class; may be empty but not <code>null</code>
*/
public JPDADebuggerInfo (
String className,
String[] argv,
String stopClassName,
NbProcessDescriptor processDescriptor,
String classPath,
String bootClassPath,
String repositoryPath,
String libraryPath,
boolean classic
) {
super (
className,
argv,
stopClassName,
processDescriptor,
classPath,
bootClassPath,
repositoryPath,
libraryPath,
classic
);
}
/**
* Returns type of debugger.
*/
public Class getDebuggerType () {
return JPDADebugger.class;
}
}
/*
* Log
* 4 Gandalf 1.3 11/8/99 Jan Jancura Somma classes renamed
* 3 Gandalf 1.2 10/23/99 Ian Formanek NO SEMANTIC CHANGE - Sun
* Microsystems Copyright in File Comment
* 2 Gandalf 1.1 8/9/99 Jan Jancura Move process settings
* from DebuggerSettings to ProcesDebuggerType
* 1 Gandalf 1.0 7/15/99 Jan Jancura
* $
*/